<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript">
        function A(name,age,price,gender)
        {
            this.name=name;
            this.age=age;
            this.price=price;
            this.gender=gender;
        }

        function C(name,age,price)
        {
            this.name=name;
            this.age=age;
        }

        function B(name,age,number)
        {
            A.call(this);
            //C.call(this,age);
            this.age=age;
            this.number=number;
        }

        var b=new B("jack",18,200001);
        console.log(b);
    </script>
</head>
<body>
    
</body>
</html>